You cannot execute a query when an asynchronous query is in progress (Error 40045)

You have attempted to call a method or property while an asynchronous query is still executing.

To avoid this error, check the StillExecuting property, and do not call RDO methods or properties that affect the SQL statement until the StillExecuting property returns False.